package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.StrategyCatalog;
import cn.wolfcode.trip.base.domain.StrategyContent;
import cn.wolfcode.trip.base.domain.StrategyDetail;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.StrategyDetailQuery;
import com.github.pagehelper.PageInfo;

/**
 * Created by 13925 on 2018/10/28.
 */

/**
 * 游记服务层
 */
public interface IStrategyDetailService {
    /**
     * 游记分页查询
     *
     * @param qo
     * @return
     */
    PageInfo query(StrategyDetailQuery qo);

    /**
     * 添加与更新大攻略
     *
     * @param strategyDetail
     */
    void saveOrUpdate(StrategyDetail strategyDetail);


    StrategyContent getContentByDetailId(Long detailId);

    StrategyDetail get(Long id);
}

